package cn.lingyangwl.agile.system.model.rqrs.user;

import cn.lingyangwl.agile.system.model.rqrs.dept.DeptResp;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 获取登录用户的部门
 * @author shenguangyang
 */
@Getter
@Setter
@ToString
public class LoginUserDeptGetResp {
    private List<DeptResp> list;
    /** 当前登录用户选择的部门id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long currentDeptId;
}
